package com.sduept.i1.model;

import java.util.Date;

public class DeviceConfig {
    private String id;
    private String identification;
    private Date saveTime;
    private int requestSetFlag; //参数配置类型标志，0为查询，1为设置
    private int requestFlag; //标志位，以下参数项，从低位到高位，1表示选择，0表示未选择
    private int picAlarmCycle; //拍照告警周期（分钟）
    private int picUploadCycle; //拍照上送周期（分钟）
    private int currentStartSetting; //电流启动定值
    private int workRunMode; //工作运行模式，0正常模式，1自动模式，2识别模式，3特殊模式
    private int activeFlag; //主站web请求或者下发置为1，通信程序与装置交互成功后置为0

    public DeviceConfig() {
        this.id = "";
        this.identification = "";
        this.saveTime = new Date();
        this.requestSetFlag = 0;
        this.requestFlag = 0;
        this.picAlarmCycle = 0;
        this.picUploadCycle = 0;
        this.currentStartSetting = 0;
        this.workRunMode = 0;
        this.activeFlag = 0;
    }

    public int getRequestSetFlag() {
        return requestSetFlag;
    }

    public void setRequestSetFlag(int requestSetFlag) {
        this.requestSetFlag = requestSetFlag;
    }

    public int getRequestFlag() {
        return requestFlag;
    }

    public void setRequestFlag(int requestFlag) {
        this.requestFlag = requestFlag;
    }

    public int getPicAlarmCycle() {
        return picAlarmCycle;
    }

    public void setPicAlarmCycle(int picAlarmCycle) {
        this.picAlarmCycle = picAlarmCycle;
    }

    public int getPicUploadCycle() {
        return picUploadCycle;
    }

    public void setPicUploadCycle(int picUploadCycle) {
        this.picUploadCycle = picUploadCycle;
    }

    public int getCurrentStartSetting() {
        return currentStartSetting;
    }

    public void setCurrentStartSetting(int currentStartSetting) {
        this.currentStartSetting = currentStartSetting;
    }

    public int getWorkRunMode() {
        return workRunMode;
    }

    public void setWorkRunMode(int workRunMode) {
        this.workRunMode = workRunMode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public Date getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
    }

    public int getActiveFlag() {
        return activeFlag;
    }

    public void setActiveFlag(int activeFlag) {
        this.activeFlag = activeFlag;
    }
}
